home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CHARTP10.ARJ / MAKEFILE < prev    next >
Text File  |  1991-03-30  |  1KB  |  50 lines

  1. # Parse Makefile
  2.  
  3. OBJFILES=\
  4.    agenda.obj \
  5.    category.obj \
  6.    chart.obj \
  7.    edge.obj \
  8.    main.obj \
  9.    parse.obj \
  10.    rules.obj \
  11.    tree.obj
  12.  
  13. EXENAME=parse
  14.  
  15. CC=c:\borlandc\bin\bccx
  16. #CC=c:\tc\bin\tcc
  17. LINK=c:\borlandc\bin\tlinkx
  18. INCDIR=c:\borlandc\include
  19. LIBDIR=c:\borlandc\lib
  20.  
  21. MODEL=l
  22. !if $(DEBUGGING)
  23. OPTIONS=-v -vi-
  24. !else
  25. OPTIONS=
  26. !endif
  27.  
  28. $(EXENAME).exe: $(OBJFILES)
  29.    $(LINK) /v/d $(LIBDIR)\c0$(MODEL) @&&!
  30. $(OBJFILES), +
  31. $(EXENAME), $(EXENAME), +
  32. $(ZLIB) $(LIBDIR)\emu $(LIBDIR)\math$(MODEL) $(LIBDIR)\c$(MODEL)
  33. !
  34.  
  35. .cpp.obj:
  36.    $(CC) -c -m$(MODEL) -P -w -w-inl -V -v -vi- $(OPTIONS) { $< }
  37.  
  38. #  use -w-inl to get rid of not inlined warnings
  39. #  use -c to compile only     
  40. #  use -mh to compile using huge model (>64K static data)
  41. #  use -w to turn on all warnings (very good)
  42. #  use -Y to make overlay compatible  
  43. #  use -v for souce debugging
  44. #  use -vi to inline when using -v ; warning inlines buggy in TC++1.0
  45. #  use -I to tell where #include <libfile.h> 's are located ('.'==current dir)
  46. #  use -V to create smart virtual tables
  47. #  use -O to optimize jumps, -G to optimize speed,
  48. #  use -Z to supress redundant register loads (no aliasing)
  49. #  use -N to check stack ; buggy in TC++1.0
  50.